package com.stark.wechat.service.material.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 新增永久素材响应
 *
 * @author <a href="mailto:mengbin@hotmail.com">Ben</a>
 * @version 1.0.0
 * @since 2024/5/24
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class AddMaterialResponsePayload implements Serializable {

    private static final long serialVersionUID = -6905268464337752888L;

    /**
     * 新增的永久素材media_id
     */
    @JsonProperty("media_id")
    private String mediaId;

    /**
     * 图片素材URL(仅图片返回)
     */
    private String url;

}
